<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<%--展示管理员的详细回复--%>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>查看回复</title>
    <style>
        /* 左侧侧边栏样式 */
        .sidebar {
            width: 200px;
            height: 100vh;
            position: fixed;
            top: 0;
            left: 0;
            background-color: #333;
            color: white;
            padding-top: 20px;
            box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
            display: flex;
            flex-direction: column;
        }

        .sidebar h2 {
            margin: 0 0 20px;
            text-align: center;
            color: white;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 50px;
        }

        .sidebar a {
            width: 180px;
            text-align: center;
            color: white;
            text-decoration: none;
            margin: 10px 0;
            padding: 10px;
            border-radius: 5px;
            display: block;
            background-color: #444;
        }

        .sidebar a:hover {
            background-color: #45a049;
        }

        /* 右侧内容样式 */
        .content {
            margin-left: 220px;
            padding: 20px;
        }

        .search-bar {
            display: flex;
            justify-content: flex-start;
            margin-bottom: 20px;
        }

        .search-bar input[type="text"] {
            padding: 8px;
            width: 300px;
            border: 1px solid #ddd;
            border-radius: 5px;
        }

        .search-bar button {
            padding: 8px 15px;
            background-color: #4CAF50;
            color: white;
            border: none;
            cursor: pointer;
            border-radius: 5px;
            margin-left: 10px;
        }

        .search-bar button:hover {
            background-color: #45a049;
        }

        .submit-button {
            width: 150px;
            height: 40px;
            background-color: #4CAF50;
            font-size: 16px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            text-align: center;
            color: white;
        }
        .submit-button:hover {
            background-color: #45a049;
        }

        h1 {
            text-align: center;
            color: #333;
            margin: 20px 0;
        }

        ul {
            list-style: none;
            padding: 0;
        }

        li {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 10px 0;
            padding: 10px;
            background-color: #f9f9f9;
            border: 1px solid #ddd;
            border-radius: 5px;
        }

        li a {
            color: #4CAF50;
            text-decoration: none;
            font-size: 18px;
            font-weight: bold;
        }

        li a:hover {
            color: #45a049;
        }
        .input-field {
            width: 100%;
            padding: 10px;
            margin-bottom: 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
            box-sizing: border-box;
        }
        textarea {
            resize: none;
        }
        .link {
            color: #4CAF50;
            text-decoration: none;
            font-weight: bold;
        }
        .link:hover {
            text-decoration: underline;
        }
    </style>
</head>
<body>

<!-- 左侧按钮区域 -->
<div class="sidebar">
    <h2>功能导航</h2>
    <a href="/dashboard">返回首页</a>
    <a href="/logout">退出登录</a>
</div>

<!-- 右侧内容区域 -->
<div class="content">
    <h1>查看回复</h1>

    <h3>标题：${feedbackDTO.getTitle()}</h3>
    <p><strong>问题描述：</strong>${feedbackDTO.getDescription()}</p>
    <p><strong>回复内容：</strong>${feedbackDTO.getReply_content()}</p>

    <a href="ViewFeedbackController" class="link">返回我的反馈</a>
</div>

</body>
</html>
